package com.hq.ims.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.baomidou.mybatisplus.annotation.Version;
import com.hq.ims.data.entityenum.EnumDataType;
import com.hq.mybatis.base.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;

import io.swagger.annotations.ApiModelProperty;



import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author jiang bai ping
 * @Email 526666031@qq.com
 * @DateTime 2024-10-29 14:44:52
 * @Detail 企业服务区域
 */
@Alias("CompanyServiceAreaHistory")
@TableName(value = "company_service_area_history")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="企业服务区域")
public class CompanyServiceAreaHistory extends BaseModel<CompanyServiceAreaHistory> implements Serializable{

    @ApiModelProperty(value="")
	@TableId(value="`id`",type = IdType.ASSIGN_UUID)
	private String id;
	
	@ApiModelProperty(value="企业资质ID")
	@TableField(value="`company_service_area_id`")
	private String companyServiceAreaId;
	
	@ApiModelProperty(value="审核id")
	@TableField(value="`company_check_id`")
	private String companyCheckId;
	
	@ApiModelProperty(value="变更id")
	@TableField(value="`company_change_id`")
	private String companyChangeId;
	
	@ApiModelProperty(value="公司id")
	@TableField(value="`company_id`")
	private String companyId;

	@ApiModelProperty(value="数据类型")
	@TableField(value="`data_type`")
	private EnumDataType dataType;
	
	@ApiModelProperty(value="省")
	@TableField(value="`province_code`")
	private String provinceCode;

	@ApiModelProperty(value="省名称")
	@TableField(value="`province_name`")
	private String provinceName;
	
	@ApiModelProperty(value="市")
	@TableField(value="`city_code`")
	private String cityCode;

	@ApiModelProperty(value="市名称")
	@TableField(value="`city_name`")
	private String cityName;
	
	@ApiModelProperty(value="区/县")
	@TableField(value="`district_code`")
	private String districtCode;

	@ApiModelProperty(value="区/县名称")
	@TableField(value="`district_name`")
	private String districtName;
	
	@ApiModelProperty(value="街道")
	@TableField(value="`street_code`")
	private String streetCode;

	@ApiModelProperty(value="街道名称")
	@TableField(value="`street_name`")
	private String streetName;
}
